package hcn.protocol.ods.electronicInvoice.req;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @Author:FangZhiyi
 * @Description
 * @Data Created in 2020/7/3 10:50
 * @Moddified By:
 */
@XmlRootElement(name = "MsgBody")
public class CreateInvoiceReq implements Serializable {

    private String organizationId;//医院代码
    private Integer businessType;//业务类型，字典：1预约挂号，2诊间支付，3出院结算
    private String businessName;//业务名称，1预约挂号，2诊间支付，3出院结算
    private String businessNo;//结算标识，某次结算记录的标识


    @XmlElement(name = "VisitOrganization")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @XmlElement(name = "BusType")
    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    @XmlElement(name = "BusTypeName")
    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    @XmlElement(name = "BusinessNo")
    public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo;
    }

    @Override
    public String toString() {
        return "{\"CreateInvoiceReq\":{"
                + "\"organizationId\":\""
                + organizationId + '\"'
                + ",\"businessType\":"
                + businessType
                + ",\"businessName\":\""
                + businessName + '\"'
                + ",\"businessNo\":\""
                + businessNo + '\"'
                + "}}";

    }
}
